package com.dems.dao.dataobject;

import java.util.Date;

public class ResDevice {
    private Long id;

    private String deviceName;

    private String deviceKey;

    private Integer nodetype;

    private Integer status;

    private Boolean enabled;

    private Long lastOnlineOn;

    private String productKey;

    private Long createdOn;

    private Date createTime;

    private Date updateTime;

    private Boolean isDelete;

    private String deviceSecret;

    private String productName;

    private String iotid;

    private String ip;

    private String authType;

    private String deviceConnectionProtocol;

    private String deviceTagList;

    private String position;

    private String imei;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName == null ? null : deviceName.trim();
    }

    public String getDeviceKey() {
        return deviceKey;
    }

    public void setDeviceKey(String deviceKey) {
        this.deviceKey = deviceKey == null ? null : deviceKey.trim();
    }

    public Integer getNodetype() {
        return nodetype;
    }

    public void setNodetype(Integer nodetype) {
        this.nodetype = nodetype;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Boolean getEnabled() {
        return enabled;
    }

    public void setEnabled(Boolean enabled) {
        this.enabled = enabled;
    }

    public Long getLastOnlineOn() {
        return lastOnlineOn;
    }

    public void setLastOnlineOn(Long lastOnlineOn) {
        this.lastOnlineOn = lastOnlineOn;
    }

    public String getProductKey() {
        return productKey;
    }

    public void setProductKey(String productKey) {
        this.productKey = productKey == null ? null : productKey.trim();
    }

    public Long getCreatedOn() {
        return createdOn;
    }

    public void setCreatedOn(Long createdOn) {
        this.createdOn = createdOn;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Boolean getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Boolean isDelete) {
        this.isDelete = isDelete;
    }

    public String getDeviceSecret() {
        return deviceSecret;
    }

    public void setDeviceSecret(String deviceSecret) {
        this.deviceSecret = deviceSecret == null ? null : deviceSecret.trim();
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName == null ? null : productName.trim();
    }

    public String getIotid() {
        return iotid;
    }

    public void setIotid(String iotid) {
        this.iotid = iotid == null ? null : iotid.trim();
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip == null ? null : ip.trim();
    }

    public String getAuthType() {
        return authType;
    }

    public void setAuthType(String authType) {
        this.authType = authType == null ? null : authType.trim();
    }

    public String getDeviceConnectionProtocol() {
        return deviceConnectionProtocol;
    }

    public void setDeviceConnectionProtocol(String deviceConnectionProtocol) {
        this.deviceConnectionProtocol = deviceConnectionProtocol == null ? null : deviceConnectionProtocol.trim();
    }

    public String getDeviceTagList() {
        return deviceTagList;
    }

    public void setDeviceTagList(String deviceTagList) {
        this.deviceTagList = deviceTagList == null ? null : deviceTagList.trim();
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position == null ? null : position.trim();
    }

    public String getImei() {
        return imei;
    }

    public void setImei(String imei) {
        this.imei = imei == null ? null : imei.trim();
    }
}